package com.yinhe.music.yhmusic.model;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.yinhe.music.yhmusic.adapter.MyRadioAdapter;

/**
 * Created by hasee on 2017/8/23.
 */

public class MyRadioItem extends AbstractExpandableItem<RadioListInfo> implements MultiItemEntity {

    public String title;
    public String count;

    public MyRadioItem(String title, String count) {
        this.count = count;
        this.title = title;
    }


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    /**
     * Get the level of this item. The level start from 0.
     * If you don't care about the level, just return a negative.
     */


    @Override
    public int getLevel() {
        return 0;
    }

    @Override
    public int getItemType() {
        return MyRadioAdapter.TYPE_TITLE;
    }
}
